<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
  <head>
  <base href="<%=basePath%>" />
    
    <title>My JSP 'Seachinfo.jsp' starting page</title>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
	<meta http-equiv="description" content="This is my page"/>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/sorttable.js"></script>
<script src="js/main.js"></script>
<script src="js/qy1.js"></script>
<script src="js/prototype.js"></script>
<script type="text/javascript">
function aa()
{
  var str =document.getElementById("zbm").value;
  var str2 =document.getElementById("zbm2").value;
  var xianid = document.getElementById("xianid").value;
   var xianid2 =document.getElementById("xianid2").value;
   var xiangid = document.getElementById("xiangid").value;
   var xiangid2 =document.getElementById("xiangid2").value;
   var cunid = document.getElementById("cunid").value;
   var cunid2 =document.getElementById("cunid2").value;
   var xianzhi = document.getElementById("xianzhi").value;
   var xianzhi2 =document.getElementById("xianzhi2").value;
   var rq = document.getElementById("rq").value;
   var rq1 =document.getElementById("rq1").value;
   var cs = document.getElementById("cs").value;
   var cs2 =document.getElementById("cs2").value;
   
   var xb2 = document.getElementById("xb2").value;
   var xb1 =document.getElementById("xb1").value;
   var hyzk1 = document.getElementById("hyzk1").value;
   var hyzk2 =document.getElementById("hyzk2").value;
   
    var zzmm1 = document.getElementById("zzmm1").value;
   var zzmm2 =document.getElementById("zzmm2").value;
   var mz1 = document.getElementById("mz1").value;
   var mz2 =document.getElementById("mz2").value;
   var xl2 = document.getElementById("xl2").value;
   var xl1 =document.getElementById("xl1").value;
   var zw1 = document.getElementById("zw1").value;
   var zw2 =document.getElementById("zw2").value;
   var zc1= document.getElementById("zc1").value;
   var zc2 =document.getElementById("zc2").value;
   
   go_simplePager(str,xianid,cs,xiangid,cunid,xianzhi,rq,xb1,hyzk1,zzmm1,mz1,xl1,zw1,zc1);
   go_simplePager2(str2,xianid2,xiangid2,cunid2,cs2,xianzhi2,rq1,xb2,hyzk2,zzmm2,mz2,xl2,zw2,zc2);
}
go_simplePager = function(str,xianid,cs,xiangid,cunid,xianzhi,rq,xb1,hyzk1,zzmm1,mz1,xl1,zw1,zc1)
{
	var opt = {method: "post", evalScripts:true};
	new Ajax.Updater("Col2Right",toUTF8("bjg.do?state=zbm1&id="+str+"&xianid="+xianid+"&xiangid="+xiangid+"&cunid="+cunid+"&cs="+cs+"&rq="+rq+"&xianzhi="+xianzhi+"&xb1="+xb1+"&xl1="+xl1+"&zzmm1="+zzmm1+"&hyzk1="+hyzk1+"&mz1="+mz1+"&zw1="+zw1+"&zc1="+zc1), opt);
	
}
go_simplePager2=function(str2,xianid2,xiangid2,cunid2,cs2,xianzhi2,rq1,xb2,hyzk2,zzmm2,mz2,xl2,zw2,zc2){
   var opt2 = {method: "post", evalScripts:true};
	new Ajax.Updater("Col2Right2", toUTF8("bjg.do?state=zbm2&id="+str2+"&xianid2="+xianid2+"&xiangid2="+xiangid2+"&cunid2="+cunid2+"&cs2="+cs2+"&rq1="+rq1+"&xianzhi2="+xianzhi2+"&xb2="+xb2+"&xl2="+xl2+"&zzmm2="+zzmm2+"&hyzk2="+hyzk2+"&mz2="+mz2+"&zw2="+zw2+"&zc2="+zc2), opt2);
}

</script>

  </head>
  <body onload="aa();">
  <%
   Object c =request.getAttribute("cs");
   System.out.println(c+"c的值为：");
   Dlyh dlyh =(Dlyh)request.getSession().getAttribute("dlyh"); 
   System.out.print(dlyh.getZd().getTypename()+"012012");
   List xianlist=(List) request.getSession().getAttribute("zdidlist"); 
    if((dlyh.getZd().getTypename().endsWith("乡")||dlyh.getZd().getTypename().equals("工业园区")||dlyh.getZd().getTypename().endsWith("镇")||dlyh.getZd().getTypename().endsWith("办")||dlyh.getZd().getTypename().endsWith("办事处")||dlyh.getZd().getTypename().endsWith("局")||dlyh.getZd().getTypename().endsWith("社")||dlyh.getZd().getTypename().endsWith("集团")||dlyh.getZd().getTypename().endsWith("院")||dlyh.getZd().getTypename().equals("民航"))){
   %>
  <input type="hidden" value="<%=request.getSession().getAttribute("shiqyid") %>" id="shiqyid" name="shiqyid" />
  <%}%>
  <input type="hidden" value="<%=request.getAttribute("zbm") %>" id="bmbhid" name="bmbhid" />
  <input type="hidden" value="<%=dlyh.getZd().getParentid() %>" id="qyid" name="qyid" />
  <input type="hidden" value="<%=dlyh.getZd().getTypename() %>:<%=dlyh.getZd().getId() %>:<%=dlyh.getZd().getParentid() %>" id="dlyhzd" name="dlyhzd" />
  <input type="hidden" value="<%=request.getAttribute("shi") %>" id="shiid" name="shiid" />
  <input type="hidden" value="<%=request.getAttribute("xian") %>" id="xianid" name="xianid" />
  <input type=hidden value="<%=request.getAttribute("xiang") %>" id="xiangid" name="xiangid" />
  <input type="hidden" value="<%=request.getAttribute("cun")%>" id="cunid" name="cunid" />
  <input type="hidden" value="<%=request.getAttribute("xianzhi") %>" id="xianzhi" name="xianzhi" />
  
  <input type="hidden" value="<%=request.getAttribute("zbm2") %>" id="bmbhid2" name="bmbhid2" />
   <input type="hidden" value="<%=request.getAttribute("xian2") %>" id="xianid2" name="xianid2" />
   <input type="hidden" value="<%=request.getAttribute("xiang2") %>" id="xiangid2" name="xiangid2" />
  <input type="hidden" value="<%=request.getAttribute("cun2")%>" id="cunid2" name="cunid2" />
   <input type="hidden" value="<%=request.getAttribute("xianzhi2") %>" id="xianzhi2" name="xianzhi2" />
   <input type="hidden" value="<%=request.getAttribute("rq") %>" id="rq" name="rq" />
   <input type="hidden" value="<%=request.getAttribute("rq1") %>" id="rq1" name="rq1" />
   <input type="hidden" value="<%=request.getAttribute("cs") %>" id="cs" name="cs" />
   <input type="hidden" value="<%=request.getAttribute("cs2") %>" id="cs2" name="cs2" />
   
   
     <input type="hidden" value="<%=request.getAttribute("xb2") %>" id="xb2" name="xb2" />
   <input type="hidden" value="<%=request.getAttribute("xb1") %>" id="xb1" name="xb1" />
  <input type="hidden" value="<%=request.getAttribute("hyzk1")%>" id="hyzk1" name="hyzk1" />
  <input type="hidden" value="<%=request.getAttribute("hyzk2")%>" id="hyzk2" name="hyzk2" />
   <input type="hidden" value="<%=request.getAttribute("zzmm1") %>" id="zzmm1" name="zzmm1" />
   <input type="hidden" value="<%=request.getAttribute("zzmm2") %>" id="zzmm2" name="zzmm2" />
   <input type="hidden" value="<%=request.getAttribute("mz1") %>" id="mz1" name="mz1" />
   <input type="hidden" value="<%=request.getAttribute("mz2") %>" id="mz2" name="mz2" />
   <input type="hidden" value="<%=request.getAttribute("xl1") %>" id="xl1" name="xl1" />
   <input type="hidden" value="<%=request.getAttribute("xl2") %>" id="xl2" name="xl2" />
   <input type="hidden" value="<%=request.getAttribute("zw1") %>" id="zw1" name="zw1" />
   <input type="hidden" value="<%=request.getAttribute("zw2") %>" id="zw2" name="zw2" />
   <input type="hidden" value="<%=request.getAttribute("zc2") %>" id="zc2" name="zc2" />
   <input type="hidden" value="<%=request.getAttribute("zc1") %>" id="zc1" name="zc1" />
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
<form action="ryzlList.do" id="f1" name="f1" method="post">
<input  type="hidden" name="sid" id="sid" value=""/>
<input type="submit" id="s1" name="s1" value="导出Excel" onclick="document.getElementById('sid').value=1" />
<input type="hidden" name="shzt" id="shzt" value="${shzt }"></input>
<fieldset style="padding-left: 5%">
<legend>
	     条件查询：
</legend>
  <table border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td>&nbsp;</td>
    <td>指标名</td>
    <td>操作符</td>
    <td>参数值</td>
    <td>指标关系</td>
  </tr>
  <tr>
    <td align="right">指标1：</td>
    <td><select name="zbm" id="zbm"  onchange="go_simplePager(this.value,0,0,0,0,0,0,0,0,0,0,0,0,0);" >
	<c:forEach var="l" items="${bjgList}">
	<option id="${l.lx}" value="${l.id}" <c:if test='${l.id==zbm}'> selected="selected"</c:if>>${l.zwmc}</option>
	</c:forEach>
    </select>
    </td>
    <td><select name="czf" id="czf">
	<option value="=" <c:if test="${czf=='='}"> selected="selected"</c:if>>等于</option>
	<option value="!=" <c:if test="${czf=='!='}"> selected="selected"</c:if>>不等于</option>
	<option value=">"  <c:if test="${czf=='>'}"> selected="selected"</c:if>>大于</option>
	<option value="<"  <c:if test="${czf=='<'}"> selected="selected"</c:if>>小于</option>
	<option value="like"  <c:if test="${czf=='like'}"> selected="selected"</c:if>>包含</option>
	<option value="not like"  <c:if test="${czf=='not like'}"> selected="selected"</c:if>>不包含</option>
    </select>
    </td>
    <td><div id="Col2Rightlist">
    </div>
       <div id="Col2Right"></div>
    </td>
    <td><select name="gx" id="gx">
	<option value="" >单条</option>
	<option value="or" <c:if test="${gx=='or'}"> selected="selected"</c:if>>或者</option>
	<option value="and" <c:if test="${gx=='and'}"> selected="selected"</c:if>>并且</option>
    </select>
    </td>
  </tr>
  <tr>
    <td align="right">指标2： </td>
    <td><select name="zbm2" id="zbm2"  onchange="go_simplePager2(this.value,0,0,0,0,0,0,0,0,0,0,0,0,0);" >
      <%System.out.println(request.getAttribute("zbm2")+"fdfdfdf"); %>
    <c:forEach var="l" items="${bjgList}">
	<option id="${l.lx}" value="${l.id}" <c:if test='${l.id==zbm2}'> selected="selected"</c:if>>${l.zwmc}</option>
	</c:forEach>
    </select></td>
    <td><select name="czf2" id="czf2"> 
      <option value="=" <c:if test="${czf2=='='}"> selected="selected"</c:if>>等于</option>
	<option value="!=" <c:if test="${czf2=='!='}"> selected="selected"</c:if>>不等于</option>
	<option value=">"  <c:if test="${czf2=='>'}"> selected="selected"</c:if>>大于</option>
	<option value="<"  <c:if test="${czf2=='<'}"> selected="selected"</c:if>>小于</option>
	<option value="like"  <c:if test="${czf2=='like'}"> selected="selected"</c:if>>包含</option>
	<option value="not like"  <c:if test="${czf2=='not like'}"> selected="selected"</c:if>>不包含</option>
    </select></td>
    <td>
    <div id="Col2Right2"></div>
   
    </td>
    <td><input type="submit" name="Submit" value="查询" /></td>
  </tr>
</table>
</fieldset>
</form>

<table width="100%" class="TableTop">
  <tbody><tr>
      <td class="left"></td>
      <td class="center subject">
         ${shzt }人员资料　${fn:length(list)}条数据</td>
      <td class="right"></td>
   </tr>
</tbody></table>

  <pg:pager url="ryzlList.do" index="half-full" maxPageItems = "10" 
  maxIndexPages="10" isOffset = "<%=false%>" 
  export = "pageOffset,currentPageNumber=pageNumber" 
  scope = "request">
  <pg:param name="zbm"  value="${zbm}" />
  <pg:param name="zbm2"  value="${zbm2}" />
  <pg:param name="czf"  value="${czf}" />
  <pg:param name="czf2"  value="${czf2}" />
  <pg:param name="cs"  value="${cs}" />
  <pg:param name="cs2"  value="${cs2}" />
  <pg:param name="gx"  value="${gx}" />
  <pg:param name="shzt"  value="${shzt}" />
  
  <pg:param name="xian"  value="${xian}" />
  <pg:param name="xiang"  value="${xiang}" />
  <pg:param name="cun"  value="${cun}" />
   <pg:param name="xian2"  value="${xian2}" />
  <pg:param name="xiang2"  value="${xiang2}" />
  <pg:param name="cun2"  value="${cun2}" />
  <pg:param name="rq"  value="${rq}" />
   <pg:param name="rq1"  value="${rq1}" />
   
   <pg:param name="xb1"  value="${xb1}" />
  <pg:param name="xb2"  value="${xb2}" />
  <pg:param name="zzmm1"  value="${zzmm1}" />
   <pg:param name="zzmm2"  value="${zzmm2}" />
  <pg:param name="hyzk1"  value="${hyzk1}" />
  <pg:param name="hyzk2"  value="${hyzk2}" />
  <pg:param name="mz1"  value="${mz1}" />
   <pg:param name="mz2"  value="${mz2}" />
  <pg:param name="xl1"  value="${xl1}" />
  <pg:param name="xl2"  value="${xl2}" />
   <pg:param name="zc1"  value="${zc1}" />
  <pg:param name="zc2"  value="${zc2}" />
  <pg:param name="zw1"  value="${zw1}" />
  <pg:param name="zw2"  value="${zw2}" />
  
<form name="form1" id="form1"  method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class=" TableBlock no-top-border">
<thead>
  <tr class="title_text">
    <%
    if(((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))&&((!c.equals("在职")&&!c.equals("离职")&&!c.equals("退休"))||c==null))
    {
    //if(dlyh.getZd().getTypename().equals("永年县")||dlyh.getSfzz().equals(0)){ 
    %> 
    <td width="25" align="center" class="TableData"></td>
    <%}
     if((dlyh.getZd().getTypename().endsWith("乡")||dlyh.getZd().getTypename().equals("工业园区")||dlyh.getZd().getTypename().endsWith("镇")||dlyh.getZd().getTypename().endsWith("办")||dlyh.getZd().getTypename().endsWith("办事处")||dlyh.getZd().getTypename().endsWith("局")||dlyh.getZd().getTypename().endsWith("社")||dlyh.getZd().getTypename().endsWith("集团")||dlyh.getZd().getTypename().endsWith("院")||dlyh.getZd().getTypename().equals("民航"))&&c.equals("在职"))
    {
    %> 
    <td width="25" align="center" class="TableData"></td>
    <%}%>
    <td  align="center" class="TableData" >编号</td>
    <td  align="center" class="TableData" >姓名</td>
    <td  align="center" class="TableData">性别</td>
    <td  align="center" class="TableData">出生日期</td>
    <td align="center" class="TableData">参加工作日期</td>
    <td  align="center" class="TableData">参加计生工作日期</td>
    
    <td  align="center" class="TableData">操作</td>
  </tr>
  </thead>
  <TBODY >
  <c:set var="bb" value="yfxm" />
  <c:forEach var="l" items="${list}">
  <pg:item>
  <tr>
    <input type="hidden" value="${l.id }" id="ryzlid" name="ryzlid" />
   <% if(((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))&&((!c.equals("在职")&&!c.equals("离职")&&!c.equals("退休"))||c==null)){
   %> 
    <td width="25" align="center" class="TableData"> <input type="checkbox" value="${l.id }" id="shztid" name="shztid" /> </td>
    <%} if((dlyh.getZd().getTypename().endsWith("乡")||dlyh.getZd().getTypename().equals("工业园区")||dlyh.getZd().getTypename().endsWith("镇")||dlyh.getZd().getTypename().endsWith("办")||dlyh.getZd().getTypename().endsWith("办事处")||dlyh.getZd().getTypename().endsWith("局")||dlyh.getZd().getTypename().endsWith("社")||dlyh.getZd().getTypename().endsWith("集团")||dlyh.getZd().getTypename().endsWith("院")||dlyh.getZd().getTypename().equals("民航"))&&c.equals("在职")){
    //if(dlyh.getZd().getTypename().equals("永年县")||dlyh.getSfzz().equals(0)){ 
    %> 
   <td width="25" align="center" class="TableData"> <input type="checkbox" value="${l.id }" id="shztid" name="shztid" /> </td>
    <%}%>
    <td  align="center" class="TableData">${l.bh}</td>
    <td  align="center" class="TableData"><a href="ryzlGet.do?id=${l.id}">${l.xm}</a></td>
    <td  align="center" class="TableData">${l.xb}</td>
    <td  align="center" class="TableData">${l.csrqString} </td>
    <td  align="center" class="TableData">${l.cjgzrqString}</td>
    <td  align="center" class="TableData">${l.cjjsgzrqString}</td>
    
    <td  align="center" class="TableData">
      <a href="ryzlInfo.do?id=${l.id }">详细信息</a>
    <%if(((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))||dlyh.getSfzz().equals(0))
     {%>
    <a href="ryzlDelete.do?id=${l.id}" onclick="return confirm('会删除所有连带信息，确定要删除吗？');">删除</a>
    <a href="ryzl.do?state=ryjdadd&&uid=${l.id}">借调信息</a>
    <%} if(!(dlyh.getZd().getTypename().endsWith("市")&&dlyh.getZd().getParentid().equals(745))) {%>
    <a href="ryzlGet.do?id=${l.id}">修改资料</a><%} %>
    <a href="rypx.do?state=showall&&uid=${l.id}"> 培训信息</a>
     <a href="rykp.do?state=showall&&uid=${l.id }">考评信息</a> 
     <a href="rytxList.do?uid=${l.id}">调薪信息</a> 
     <a href="ryddList.do?uid=${l.id}">调动信息</a></td>
  </tr>
  </pg:item>
  </c:forEach>
  </TBODY>
 <%if(((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区"))&&((!c.equals("在职")&&!c.equals("离职")&&!c.equals("退休"))||c==null))
  { %>
  <tr>
     <td align="left" colspan="27" class="TableData">
     <input type="button" value="全选" onclick="checkall()" />&nbsp;&nbsp;&nbsp;&nbsp;
     <input type="button" value="反选" onclick="uncheckall()" />
      <a href="javascript:void(0);" onclick="sfshtg('%e5%b7%b2%e9%80%9a%e8%bf%87')"> 审核通过</a>  &nbsp;&nbsp;&nbsp;&nbsp;
      <a href="javascript:void(0);" onclick="sfshtg('%e6%9c%aa%e9%80%9a%e8%bf%87')">审核不通过</a>
     </td>
  </tr>
<%}%>
<%if((dlyh.getZd().getTypename().endsWith("乡")||dlyh.getZd().getTypename().equals("工业园区")||dlyh.getZd().getTypename().endsWith("镇")||dlyh.getZd().getTypename().endsWith("办")||dlyh.getZd().getTypename().endsWith("办事处")||dlyh.getZd().getTypename().endsWith("局")||dlyh.getZd().getTypename().endsWith("社")||dlyh.getZd().getTypename().endsWith("集团")||dlyh.getZd().getTypename().endsWith("院")||dlyh.getZd().getTypename().equals("民航"))&&c.equals("在职"))
  { %>
  <tr>
     <td align="left" colspan="27" class="TableData">
     <input type="button" value="全选" onclick="checkall()" />&nbsp;&nbsp;&nbsp;&nbsp;
     <input type="button" value="反选" onclick="uncheckall()" />
      <a href="javascript:void(0);" onclick="addpxinfo();">添加培训信息</a>
     </td>
  </tr>
<%}%>
</table>
</form>
<pg:index>
    <center>
    <table border=0 cellpadding=5  cellspacing=0 style="font-size:12px">
    <tr align=center valign=top>
    <td valign=bottom></td>
    <pg:prev ifnull="true">
      <% if (pageUrl != null) { %>
        <td align=right><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>">上一页<br />
        </A></td>
      <% } else { %>
        <td>上一页</td>
      <% } %>
    </pg:prev>
    <pg:pages>
      <% if (pageNumber == currentPageNumber) { %>
        <td>
        <font color=#A90A08><%= pageNumber %></font></td>
      <% } else { %>
        <td><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>">
        <%=pageNumber%></A></td>
      <% } %>
    </pg:pages>
    <pg:next ifnull="true">
      <% if (pageUrl != null) { %>
        <td><A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>">下一页<br></A></td>
      <% } else { %>
        <td>下一页</td>
      <% } %>
    </pg:next>
    </tr>
    </table>
    </center>
  </pg:index>
  </pg:pager>
   <script type="text/javascript">
   form1 = document.getElementById("form1");
   function addpxinfo()
      {
       var strs="";
         var shzt = document.getElementsByName("shztid");
         for(var i=0; i<shzt.length;i++){
           if(shzt[i].checked)
           {
              strs+=shzt[i].value+",";
           } 
         }
         if(strs==null||strs=="")
         {
            alert("请选择");
         }
         else
         {
	         form1.action="rypx.do?state=add&uid="+strs;
	         form1.submit();
         }
      }
      function checkall()
      {
          var shzt = document.getElementsByName("shztid");
          for(var i=0;i<shzt.length;i++)
          {
             shzt[i].checked=true;
          }
      }
      function uncheckall()
      {
        var shzt = document.getElementsByName("shztid");
         for(var i=0; i<shzt.length;i++){
             if(shzt[i].checked==true){
               shzt[i].checked=false;
             }else{
               shzt[i].checked=true;
             }
         }
      }
      function sfshtg(str)
      {
         var strs="";
         var shzt = document.getElementsByName("shztid");
         for(var i=0; i<shzt.length;i++){
           if(shzt[i].checked)
           {
              strs+=shzt[i].value+",";
           } 
         }
         if(strs==null||strs=="")
         {
            alert("请选择");
         }
         else
         {
	         form1.action="ryzl.do?state=editshzt&shztid="+strs+"&name="+str; 
	         form1.submit();
         }
      }
   </script>
 
  
  </body>
</html>